﻿<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="Chip8Dev.SettingsPage"
	x:Name="Page"
	WindowTitle="Page"
	FlowDirection="LeftToRight"
	WindowWidth="640" WindowHeight="480" Style="{DynamicResource ThemePageStyle}" Title="Settings">

	<StackPanel Margin="0" Width="521.8" HorizontalAlignment="Left">
		
		<Expander BorderBrush="{x:Null}"  BorderThickness="2" Margin="0" ClipToBounds="True" Background="White" Foreground="Black" HorizontalAlignment="Left" >
			<Expander.Header>
				<TextBlock Foreground="Black" Text="Boot Options" FontSize="16" />
			</Expander.Header>
			<StackPanel Height="17" Orientation="Horizontal" Margin="7,2,0,0" HorizontalAlignment="Left">
				<CheckBox Content="Show Splash Screen" HorizontalAlignment="Left" Padding="4,0,0,0"/>
				<CheckBox Content="Force Hi-Resolution" HorizontalAlignment="Left" Padding="4,0,0,0" Margin="10,0,0,0"/>
				<CheckBox Content="Skip Font" HorizontalAlignment="Left" Padding="4,0,0,0" Margin="10,0,0,0"/>
				<CheckBox Content="Protect Font" Height="17" HorizontalAlignment="Left" Margin="10,0,0,0" />
			</StackPanel>
		</Expander>

		<Expander BorderBrush="{x:Null}" BorderThickness="2" Margin="0,10,-464,0" ClipToBounds="True" Background="{x:Null}" HorizontalContentAlignment="Left" HorizontalAlignment="Left" Foreground="Black">
			<Expander.Header>
				<TextBlock Foreground="Black" Text="Graphics Options" FontSize="16" />
			</Expander.Header>
			<StackPanel Orientation="Horizontal">
				<StackPanel Orientation="Vertical" Width="90" HorizontalAlignment="Left">
					<Canvas Height="50" Width="50" HorizontalAlignment="Center">
						<Rectangle Fill="Black" HorizontalAlignment="Left" Height="50" Stroke="Black" Width="50"/>
						<Rectangle Fill="White" HorizontalAlignment="Left" Height="30" Stroke="Black" Width="30" Canvas.Left="10" Canvas.Top="10"/>
					</Canvas>
					<TextBlock Foreground="Black" Text="Screen Colors" HorizontalAlignment="Center" />
				</StackPanel>
				<StackPanel Orientation="Vertical">
					<CheckBox Content="De-Flicker (works most games)" />
					<CheckBox Content="Anit-Aliasing (Smooth edges)" />
					<CheckBox Content="Gradient Effects" />
					<CheckBox Content="Fullscreen" />
				</StackPanel>
				<StackPanel Orientation="Vertical" Margin="10,0,0,0">
					<CheckBox Content="Render to Main Window" />
				</StackPanel>
			</StackPanel>
		</Expander>
		<Expander BorderBrush="{x:Null}" BorderThickness="2" Margin="0,10,0,0" ClipToBounds="True" Background="{x:Null}" HorizontalContentAlignment="Left" HorizontalAlignment="Left" Foreground="Black" VerticalContentAlignment="Top">
			<Expander.Header>
				<TextBlock Foreground="Black" FontSize="16" Text="Graphics Options (Advanced)" />
			</Expander.Header>
			<StackPanel Orientation="Horizontal">
				<StackPanel Orientation="Vertical" HorizontalAlignment="Left" Margin="7,0,0,0">
					<CheckBox Content="Live Framebuffer" HorizontalAlignment="Left" />
					<CheckBox Content="Use Point Lists" HorizontalAlignment="Left" />
					<CheckBox Content="CPU Access" HorizontalAlignment="Left" />
					<CheckBox Content="Use Bitmaps" HorizontalAlignment="Left" />
				</StackPanel>
				<StackPanel Orientation="Vertical"/>
			</StackPanel>
		</Expander>

		<TextBlock TextWrapping="Wrap" Margin="0,10,0,0" FontSize="16">
			<Hyperlink NavigateUri="MainPage.xaml">Go Back...</Hyperlink>
		</TextBlock>

	</StackPanel>
</Page>